<template>
  <div class="wrap">
    <div class="wrap-l">
      <div class="tree-box">
        <div class="title">设备列表</div>
        <TreeTask />
      </div>
    </div>
    <div class="wrap-r">
      <WrapTask />
    </div>
  </div>
</template>

<script>
import TreeTask from "./TreeTask";
import WrapTask from "./WrapTask";
import bus from "@/utils/bus";
export default {
  name: "",
  components: {
    TreeTask,
    WrapTask,
  },
  props: {},
  data() {
    return {
      task_id: "",
    };
  },
  computed: {},
  created() {},
  mounted() {
    this.task_id = this.$route.query.task_id;
  },
  methods: {},
  watch: {},
};
</script>
<style scoped>
.wrap {
  /* height: calc(100vh - 100px); */
  height: calc(100vh - 60px);
  margin: -20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #031229;
}
.wrap-l {
  width: 20%;
  height: 100%;
  box-shadow: 1px 0px 10px #446ab6;
  display: flex;
  flex-flow: column;
}
.wrap-r {
  flex: 1;
  height: 100%;
  margin-left: 20px;
  overflow-y: scroll;
  /* box-shadow: 0 10px 10px #d6d6d6; */
}

.wrap-l .tree-box {
  width: 100%;
  height: 100%;
  flex: 1;
  border-radius: 10px;
  border-radius: 10px;
  overflow: hidden;
}
.wrap-l .control-box {
  width: 100%;
  border-radius: 10px;
}
.con {
  width: 100%;
  height: 100%;
}
.wrap-l .title {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding-left: 15px;
  background: #193c7e;
  border-radius: 10px 10px 0 0;
  color: #fff;
  font-size: 14px;
}
</style>
